package com.qfedu.mapper;

import com.qfedu.entity.AdminEntity;
import com.qfedu.pojo.AdminPojo;
import com.qfedu.pojo.RolePojo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminPojoMapper {
    public AdminPojo dologin(AdminEntity adminEntity);
    public List<AdminPojo> queryAlladmin(AdminEntity adminEntity);
    public Boolean deleteAdById(@Param("aidstr") String aistr);
    public Boolean addAdmin(AdminEntity adminEntity);
    public Boolean addAdminWithRole(@Param("aid") int aid,@Param("rid") int rid);
    public Boolean untying(int aid);
    public Boolean updateAdmin(AdminEntity adminEntity);
}
